Skip to main content

revXMLRPC_GetParam

Type

function

Summary

Returns a single parameter from an XML-RPC document structure.

Syntax

revXMLRPC_GetParam(<XMLRPCdocumentID>,<paramNumber>[, <dataType>])

Description

Use revXMLRPC_GetParam to get the value of a single parameter from within an XML-RPC document structure.

Parameters

NameTypeDescription

XMLRPCdocumentID

integer

The number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request, or the successful revXMLRPC_Execute function when you executed an XML-RPC request.

paramNumber

integer

The number given to the parameter within the XML-RPC document structure.

dataType

enum

The type of data contained in the parameters data.

Examples

local tResultString
put revXMLRPC_GetParam(tResponse,1,"string") into tResultString

command: revXMLRPC_AddParam

function: revXMLRPC_CreateRequest, revXMLRPC_Execute

glossary: XML-RPC

library: XML-RPC library

Compatibility and Support

Introduced

LiveCode 2.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?